﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jamhee.Noctiluca.Common;

namespace Jamhee.Noctiluca.LightWiki.PropertyFiles
{
    class WikiTextLoop
    {
        private IniFile _iniFile = null;

        #region

        private const string SECTION_LOOP = "LOOP";
        private const string SECTION_LOOP_KEY_TEXT = "text";

        #endregion

        public WikiTextLoop(string path)
        {
            _iniFile = new IniFile(path);
        }

        public string GetText()
        {
            return _iniFile.IniReadValue(SECTION_LOOP, SECTION_LOOP_KEY_TEXT);
        }
    }
}
